{
	"ProcessTemplates": [
		{
			"Name": "Shopify to Salesforce - Customers",
			"Modified": "2024-06-27T06:09:46.8692894",
			"Modifier": "sampo.sarlin@frends.com",
			"Tags": [
				"Salesforce",
				"Shopify"
			],
			"TemplateProcessTags": [],
			"Description": "This process will retrieve customer information from Shopify. It will perform the necessary mapping to Salesforce customer format. Then it will transfer the mapped customer data to Salesforce.",
			"Version": 1,
			"UniqueIdentifier": "0ae137a4-55e9-40c9-9f59-0f456e03ba2e",
			"ProcessVariablesJson": "{\"ShopifyBaseUrl\":{\"Value\":\"\\\"https://example.myshopify.com/\\\"\",\"IsSecret\":false,\"Mode\":\"text\",\"Description\":\"The base url for Shopify, ending in myshopify.com.\"},\"ShopifyAdminToken\":{\"Value\":\"\\\"abcdef123456\\\"\",\"IsSecret\":true,\"Mode\":\"text\",\"Description\":\"The admin token for Shopify.\"},\"SalesforceBaseUrl\":{\"Value\":\"\\\"https://example.my.salesforce.com\\\"\",\"IsSecret\":false,\"Mode\":\"text\",\"Description\":\"The base url for Salesforce.\"},\"SalesforceUser\":{\"Value\":\"\\\"SalesforceUsername\\\"\",\"IsSecret\":false,\"Mode\":\"text\",\"Description\":\"The username for Salesforce account.\"},\"SalesforcePassword\":{\"Value\":\"\\\"abcdef123456\\\"\",\"IsSecret\":true,\"Mode\":\"text\",\"Description\":\"The password for Salesforce account.\"},\"SalesforceClientId\":{\"Value\":\"\\\"abcdef123456\\\"\",\"IsSecret\":false,\"Mode\":\"text\",\"Description\":\"The client id for Salesforce.\"},\"SalesforceClientSecret\":{\"Value\":\"\\\"abcdef123456\\\"\",\"IsSecret\":true,\"Mode\":\"text\",\"Description\":\"The client secret for Salesforce.\"},\"SalesforceSecurityToken\":{\"Value\":\"\\\"abcdef123456\\\"\",\"IsSecret\":true,\"Mode\":\"text\",\"Description\":\"The security token for Salesforce.\"}}",
			"ProcessInfo": {
				"Process": {
					"Name": "Shopify to Salesforce - Customers",
					"Modified": "2024-06-27T06:09:46.8692894",
					"Modifier": "sampo.sarlin@frends.com",
					"TagString": null,
					"Tags": [],
					"Description": "This process will retrieve customer information from Shopify. It will perform the necessary mapping to Salesforce customer format. Then it will transfer the mapped customer data to Salesforce.",
					"Version": 1,
					"UniqueIdentifier": "d8ce4efa-1e09-4463-81fe-5d4078536e20",
					"GraphJson": null,
					"Bpmn": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<bpmn2:definitions xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:bpmn2=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:dc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:di=\"http://www.omg.org/spec/DD/20100524/DI\" id=\"sample-diagram\" targetNamespace=\"http://bpmn.io/schema/bpmn\" xsi:schemaLocation=\"http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd\"><bpmn2:process id=\"Process_1\" isExecutable=\"false\"><bpmn2:startEvent id=\"StartEvent_1\" name=\"Manual\"><bpmn2:outgoing>Flow_02b60xp</bpmn2:outgoing></bpmn2:startEvent><bpmn2:task id=\"Activity_0wo0t5e\" name=\"Get customers from Shopify\"><bpmn2:incoming>Flow_02b60xp</bpmn2:incoming><bpmn2:outgoing>Flow_1ruyvup</bpmn2:outgoing><bpmn2:property id=\"Property_1goy0o5\" name=\"__targetRef_placeholder\" /><bpmn2:dataInputAssociation id=\"DataInputAssociation_0mctz03\"><bpmn2:sourceRef>DataStoreReference_0fny0kl</bpmn2:sourceRef><bpmn2:targetRef>Property_1goy0o5</bpmn2:targetRef></bpmn2:dataInputAssociation></bpmn2:task><bpmn2:sequenceFlow id=\"Flow_02b60xp\" sourceRef=\"StartEvent_1\" targetRef=\"Activity_0wo0t5e\" /><bpmn2:dataStoreReference id=\"DataStoreReference_0fny0kl\" name=\"Shopify customers\" /><bpmn2:exclusiveGateway id=\"Gateway_00bstlp\" name=\"Customer data retrieved?\" default=\"Flow_04y1s0l\"><bpmn2:incoming>Flow_1ruyvup</bpmn2:incoming><bpmn2:outgoing>Flow_1vdssk6</bpmn2:outgoing><bpmn2:outgoing>Flow_04y1s0l</bpmn2:outgoing></bpmn2:exclusiveGateway><bpmn2:sequenceFlow id=\"Flow_1ruyvup\" sourceRef=\"Activity_0wo0t5e\" targetRef=\"Gateway_00bstlp\" /><bpmn2:scriptTask id=\"Activity_1jvwg65\" name=\"Initialize exceptions\"><bpmn2:incoming>Flow_1vdssk6</bpmn2:incoming><bpmn2:outgoing>Flow_19oe0ef</bpmn2:outgoing></bpmn2:scriptTask><bpmn2:sequenceFlow id=\"Flow_1vdssk6\" name=\"yes\" sourceRef=\"Gateway_00bstlp\" targetRef=\"Activity_1jvwg65\" /><bpmn2:intermediateThrowEvent id=\"Event_1ucnjwf\" name=\"Throw an error if customer data was not retrieved\"><bpmn2:incoming>Flow_04y1s0l</bpmn2:incoming><bpmn2:signalEventDefinition /></bpmn2:intermediateThrowEvent><bpmn2:sequenceFlow id=\"Flow_04y1s0l\" name=\"no\" sourceRef=\"Gateway_00bstlp\" targetRef=\"Event_1ucnjwf\" /><bpmn2:subProcess id=\"Activity_0l51eyo\" name=\"For each customer\"><bpmn2:incoming>Flow_19oe0ef</bpmn2:incoming><bpmn2:outgoing>Flow_1hbr4kr</bpmn2:outgoing><bpmn2:multiInstanceLoopCharacteristics isSequential=\"true\" /><bpmn2:startEvent id=\"Event_064s6d5\"><bpmn2:outgoing>Flow_17m0c5s</bpmn2:outgoing></bpmn2:startEvent><bpmn2:task id=\"Activity_0c36r43\" name=\"Get contact information from Salesforce\"><bpmn2:incoming>Flow_17m0c5s</bpmn2:incoming><bpmn2:outgoing>Flow_1h4n15r</bpmn2:outgoing></bpmn2:task><bpmn2:sequenceFlow id=\"Flow_17m0c5s\" sourceRef=\"Event_064s6d5\" targetRef=\"Activity_0c36r43\" /><bpmn2:exclusiveGateway id=\"Gateway_0tik9oz\" name=\"Retrieving contact information successful?\" default=\"Flow_056quqx\"><bpmn2:incoming>Flow_1h4n15r</bpmn2:incoming><bpmn2:outgoing>Flow_0c41025</bpmn2:outgoing><bpmn2:outgoing>Flow_056quqx</bpmn2:outgoing></bpmn2:exclusiveGateway><bpmn2:sequenceFlow id=\"Flow_1h4n15r\" sourceRef=\"Activity_0c36r43\" targetRef=\"Gateway_0tik9oz\" /><bpmn2:exclusiveGateway id=\"Gateway_191o42z\" name=\"Is customer in Salesforce as a contact?\" default=\"Flow_1uerae2\"><bpmn2:incoming>Flow_0c41025</bpmn2:incoming><bpmn2:outgoing>Flow_1uerae2</bpmn2:outgoing><bpmn2:outgoing>Flow_0xibwpy</bpmn2:outgoing></bpmn2:exclusiveGateway><bpmn2:sequenceFlow id=\"Flow_0c41025\" name=\"yes\" sourceRef=\"Gateway_0tik9oz\" targetRef=\"Gateway_191o42z\" /><bpmn2:task id=\"Activity_0ulau46\" name=\"Insert customer to Salesforce\"><bpmn2:incoming>Flow_1uerae2</bpmn2:incoming><bpmn2:outgoing>Flow_1pothq3</bpmn2:outgoing></bpmn2:task><bpmn2:sequenceFlow id=\"Flow_1uerae2\" name=\"no\" sourceRef=\"Gateway_191o42z\" targetRef=\"Activity_0ulau46\" /><bpmn2:task id=\"Activity_03ijybn\" name=\"Update customer in Salesforce\"><bpmn2:incoming>Flow_0xibwpy</bpmn2:incoming><bpmn2:outgoing>Flow_0wwi4m0</bpmn2:outgoing></bpmn2:task><bpmn2:sequenceFlow id=\"Flow_0xibwpy\" name=\"yes\" sourceRef=\"Gateway_191o42z\" targetRef=\"Activity_03ijybn\" /><bpmn2:endEvent id=\"Event_095vhme\" name=\"Add error to exceptions variable and take the next customer\"><bpmn2:incoming>Flow_056quqx</bpmn2:incoming></bpmn2:endEvent><bpmn2:sequenceFlow id=\"Flow_056quqx\" name=\"no\" sourceRef=\"Gateway_0tik9oz\" targetRef=\"Event_095vhme\" /><bpmn2:exclusiveGateway id=\"Gateway_1b6d15u\" name=\"Customer insertion successful?\" default=\"Flow_11htdr0\"><bpmn2:incoming>Flow_1pothq3</bpmn2:incoming><bpmn2:outgoing>Flow_108wewe</bpmn2:outgoing><bpmn2:outgoing>Flow_11htdr0</bpmn2:outgoing></bpmn2:exclusiveGateway><bpmn2:sequenceFlow id=\"Flow_1pothq3\" sourceRef=\"Activity_0ulau46\" targetRef=\"Gateway_1b6d15u\" /><bpmn2:exclusiveGateway id=\"Gateway_1edlorj\" name=\"Customer update successful?\" default=\"Flow_0b8qzg5\"><bpmn2:incoming>Flow_0wwi4m0</bpmn2:incoming><bpmn2:outgoing>Flow_0rcka6d</bpmn2:outgoing><bpmn2:outgoing>Flow_0b8qzg5</bpmn2:outgoing></bpmn2:exclusiveGateway><bpmn2:sequenceFlow id=\"Flow_0wwi4m0\" sourceRef=\"Activity_03ijybn\" targetRef=\"Gateway_1edlorj\" /><bpmn2:endEvent id=\"Event_1t428y7\"><bpmn2:incoming>Flow_108wewe</bpmn2:incoming><bpmn2:incoming>Flow_0rcka6d</bpmn2:incoming></bpmn2:endEvent><bpmn2:sequenceFlow id=\"Flow_108wewe\" name=\"yes\" sourceRef=\"Gateway_1b6d15u\" targetRef=\"Event_1t428y7\" /><bpmn2:sequenceFlow id=\"Flow_0rcka6d\" name=\"yes\" sourceRef=\"Gateway_1edlorj\" targetRef=\"Event_1t428y7\" /><bpmn2:endEvent id=\"Event_0xvyjch\" name=\"Add error to exceptions variable and take the next customer\"><bpmn2:incoming>Flow_0b8qzg5</bpmn2:incoming></bpmn2:endEvent><bpmn2:sequenceFlow id=\"Flow_0b8qzg5\" name=\"no\" sourceRef=\"Gateway_1edlorj\" targetRef=\"Event_0xvyjch\" /><bpmn2:endEvent id=\"Event_1bmaism\" name=\"Add error to exceptions variable and take the next customer\"><bpmn2:incoming>Flow_11htdr0</bpmn2:incoming></bpmn2:endEvent><bpmn2:sequenceFlow id=\"Flow_11htdr0\" name=\"no\" sourceRef=\"Gateway_1b6d15u\" targetRef=\"Event_1bmaism\" /><bpmn2:textAnnotation id=\"TextAnnotation_1wh64zo\"><bpmn2:text>Existing contacts are updated by this template.</bpmn2:text></bpmn2:textAnnotation><bpmn2:association id=\"Association_1bpkijv\" sourceRef=\"Activity_0c36r43\" targetRef=\"TextAnnotation_1wh64zo\" /></bpmn2:subProcess><bpmn2:sequenceFlow id=\"Flow_19oe0ef\" sourceRef=\"Activity_1jvwg65\" targetRef=\"Activity_0l51eyo\" /><bpmn2:endEvent id=\"Event_1nu2kh1\"><bpmn2:incoming>Flow_1hbr4kr</bpmn2:incoming></bpmn2:endEvent><bpmn2:sequenceFlow id=\"Flow_1hbr4kr\" sourceRef=\"Activity_0l51eyo\" targetRef=\"Event_1nu2kh1\" /><bpmn2:textAnnotation id=\"TextAnnotation_02y32wi\"><bpmn2:text>A variable for exceptions is initialized to help pinpoint the errors.</bpmn2:text></bpmn2:textAnnotation><bpmn2:association id=\"Association_1oliby6\" sourceRef=\"Activity_1jvwg65\" targetRef=\"TextAnnotation_02y32wi\" /><bpmn2:group id=\"Group_0cq45ed\" categoryValueRef=\"CategoryValue_0u7dezr\" /><bpmn2:group id=\"Group_1guy6gh\" categoryValueRef=\"CategoryValue_1sjiueb\" /></bpmn2:process><bpmn2:category id=\"Category_0a8d7v1\"><bpmn2:categoryValue id=\"CategoryValue_0u7dezr\" value=\"Get customers from Shopify\" /></bpmn2:category><bpmn2:category id=\"Category_091qj0z\"><bpmn2:categoryValue id=\"CategoryValue_1sjiueb\" value=\"Customer insertion and update in Salesforce as contacts\" /></bpmn2:category><bpmndi:BPMNDiagram id=\"BPMNDiagram_1\"><bpmndi:BPMNPlane id=\"BPMNPlane_1\" bpmnElement=\"Process_1\"><bpmndi:BPMNShape id=\"_BPMNShape_StartEvent_2\" bpmnElement=\"StartEvent_1\"><dc:Bounds x=\"342\" y=\"240\" width=\"36\" height=\"36\" /><bpmndi:BPMNLabel><dc:Bounds x=\"342\" y=\"276\" width=\"37\" height=\"14\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Activity_0wo0t5e_di\" bpmnElement=\"Activity_0wo0t5e\"><dc:Bounds x=\"500\" y=\"218\" width=\"100\" height=\"80\" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"DataStoreReference_0fny0kl_di\" bpmnElement=\"DataStoreReference_0fny0kl\"><dc:Bounds x=\"525\" y=\"105\" width=\"50\" height=\"50\" /><bpmndi:BPMNLabel><dc:Bounds x=\"524\" y=\"75\" width=\"52\" height=\"27\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Gateway_00bstlp_di\" bpmnElement=\"Gateway_00bstlp\" isMarkerVisible=\"true\"><dc:Bounds x=\"655\" y=\"233\" width=\"50\" height=\"50\" /><bpmndi:BPMNLabel><dc:Bounds x=\"643\" y=\"196\" width=\"73\" height=\"27\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Activity_1jvwg65_di\" bpmnElement=\"Activity_1jvwg65\"><dc:Bounds x=\"785\" y=\"243\" width=\"30\" height=\"30\" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Event_1ucnjwf_di\" bpmnElement=\"Event_1ucnjwf\"><dc:Bounds x=\"662\" y=\"345\" width=\"36\" height=\"36\" /><bpmndi:BPMNLabel><dc:Bounds x=\"639\" y=\"388\" width=\"83\" height=\"40\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Activity_0l51eyo_di\" bpmnElement=\"Activity_0l51eyo\" isExpanded=\"true\"><dc:Bounds x=\"960\" y=\"60\" width=\"940\" height=\"710\" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Event_064s6d5_di\" bpmnElement=\"Event_064s6d5\"><dc:Bounds x=\"1000\" y=\"240\" width=\"36\" height=\"36\" /></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Activity_0c36r43_di\" bpmnElement=\"Activity_0c36r43\"><dc:Bounds x=\"1090\" y=\"218\" width=\"100\" height=\"80\" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Gateway_0tik9oz_di\" bpmnElement=\"Gateway_0tik9oz\" isMarkerVisible=\"true\"><dc:Bounds x=\"1245\" y=\"233\" width=\"50\" height=\"50\" /><bpmndi:BPMNLabel><dc:Bounds x=\"1226\" y=\"170\" width=\"89\" height=\"40\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Gateway_191o42z_di\" bpmnElement=\"Gateway_191o42z\" isMarkerVisible=\"true\"><dc:Bounds x=\"1355\" y=\"233\" width=\"50\" height=\"50\" /><bpmndi:BPMNLabel><dc:Bounds x=\"1342\" y=\"180\" width=\"76\" height=\"40\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Activity_0ulau46_di\" bpmnElement=\"Activity_0ulau46\"><dc:Bounds x=\"1480\" y=\"218\" width=\"100\" height=\"80\" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Event_095vhme_di\" bpmnElement=\"Event_095vhme\"><dc:Bounds x=\"1252\" y=\"342\" width=\"36\" height=\"36\" /><bpmndi:BPMNLabel><dc:Bounds x=\"1226\" y=\"385\" width=\"88\" height=\"53\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Gateway_1b6d15u_di\" bpmnElement=\"Gateway_1b6d15u\" isMarkerVisible=\"true\"><dc:Bounds x=\"1645\" y=\"233\" width=\"50\" height=\"50\" /><bpmndi:BPMNLabel><dc:Bounds x=\"1641\" y=\"183\" width=\"58\" height=\"40\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Event_1t428y7_di\" bpmnElement=\"Event_1t428y7\"><dc:Bounds x=\"1822\" y=\"240\" width=\"36\" height=\"36\" /></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Event_1bmaism_di\" bpmnElement=\"Event_1bmaism\"><dc:Bounds x=\"1652\" y=\"342\" width=\"36\" height=\"36\" /><bpmndi:BPMNLabel><dc:Bounds x=\"1626\" y=\"385\" width=\"88\" height=\"53\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"TextAnnotation_1wh64zo_di\" bpmnElement=\"TextAnnotation_1wh64zo\"><dc:Bounds x=\"1090\" y=\"110\" width=\"100\" height=\"69.1358024691358\" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Activity_03ijybn_di\" bpmnElement=\"Activity_03ijybn\"><dc:Bounds x=\"1480\" y=\"510\" width=\"100\" height=\"80\" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Gateway_1edlorj_di\" bpmnElement=\"Gateway_1edlorj\" isMarkerVisible=\"true\"><dc:Bounds x=\"1645\" y=\"525\" width=\"50\" height=\"50\" /><bpmndi:BPMNLabel><dc:Bounds x=\"1627\" y=\"488\" width=\"85\" height=\"27\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Event_0xvyjch_di\" bpmnElement=\"Event_0xvyjch\"><dc:Bounds x=\"1652\" y=\"642\" width=\"36\" height=\"36\" /><bpmndi:BPMNLabel><dc:Bounds x=\"1626\" y=\"685\" width=\"88\" height=\"53\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNEdge id=\"Flow_17m0c5s_di\" bpmnElement=\"Flow_17m0c5s\"><di:waypoint x=\"1036\" y=\"258\" /><di:waypoint x=\"1090\" y=\"258\" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_1h4n15r_di\" bpmnElement=\"Flow_1h4n15r\"><di:waypoint x=\"1190\" y=\"258\" /><di:waypoint x=\"1245\" y=\"258\" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_0c41025_di\" bpmnElement=\"Flow_0c41025\"><di:waypoint x=\"1295\" y=\"258\" /><di:waypoint x=\"1355\" y=\"258\" /><bpmndi:BPMNLabel><dc:Bounds x=\"1317\" y=\"240\" width=\"17\" height=\"14\" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_1uerae2_di\" bpmnElement=\"Flow_1uerae2\"><di:waypoint x=\"1405\" y=\"258\" /><di:waypoint x=\"1480\" y=\"258\" /><bpmndi:BPMNLabel><dc:Bounds x=\"1421\" y=\"240\" width=\"13\" height=\"14\" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_0xibwpy_di\" bpmnElement=\"Flow_0xibwpy\"><di:waypoint x=\"1380\" y=\"283\" /><di:waypoint x=\"1380\" y=\"550\" /><di:waypoint x=\"1480\" y=\"550\" /><bpmndi:BPMNLabel><dc:Bounds x=\"1387\" y=\"306\" width=\"17\" height=\"14\" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_056quqx_di\" bpmnElement=\"Flow_056quqx\"><di:waypoint x=\"1270\" y=\"283\" /><di:waypoint x=\"1270\" y=\"342\" /><bpmndi:BPMNLabel><dc:Bounds x=\"1279\" y=\"308\" width=\"13\" height=\"14\" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_1pothq3_di\" bpmnElement=\"Flow_1pothq3\"><di:waypoint x=\"1580\" y=\"258\" /><di:waypoint x=\"1645\" y=\"258\" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_0wwi4m0_di\" bpmnElement=\"Flow_0wwi4m0\"><di:waypoint x=\"1580\" y=\"550\" /><di:waypoint x=\"1645\" y=\"550\" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_108wewe_di\" bpmnElement=\"Flow_108wewe\"><di:waypoint x=\"1695\" y=\"258\" /><di:waypoint x=\"1822\" y=\"258\" /><bpmndi:BPMNLabel><dc:Bounds x=\"1711\" y=\"240\" width=\"17\" height=\"14\" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_0rcka6d_di\" bpmnElement=\"Flow_0rcka6d\"><di:waypoint x=\"1695\" y=\"550\" /><di:waypoint x=\"1760\" y=\"550\" /><di:waypoint x=\"1760\" y=\"258\" /><di:waypoint x=\"1822\" y=\"258\" /><bpmndi:BPMNLabel><dc:Bounds x=\"1711\" y=\"523\" width=\"17\" height=\"14\" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_0b8qzg5_di\" bpmnElement=\"Flow_0b8qzg5\"><di:waypoint x=\"1670\" y=\"575\" /><di:waypoint x=\"1670\" y=\"642\" /><bpmndi:BPMNLabel><dc:Bounds x=\"1675\" y=\"602\" width=\"13\" height=\"14\" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_11htdr0_di\" bpmnElement=\"Flow_11htdr0\"><di:waypoint x=\"1670\" y=\"283\" /><di:waypoint x=\"1670\" y=\"342\" /><bpmndi:BPMNLabel><dc:Bounds x=\"1676\" y=\"298\" width=\"13\" height=\"14\" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Association_1bpkijv_di\" bpmnElement=\"Association_1bpkijv\"><di:waypoint x=\"1140\" y=\"218\" /><di:waypoint x=\"1140\" y=\"179\" /></bpmndi:BPMNEdge><bpmndi:BPMNShape id=\"Event_1nu2kh1_di\" bpmnElement=\"Event_1nu2kh1\"><dc:Bounds x=\"2012\" y=\"240\" width=\"36\" height=\"36\" /></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"TextAnnotation_02y32wi_di\" bpmnElement=\"TextAnnotation_02y32wi\"><dc:Bounds x=\"750\" y=\"88\" width=\"130\" height=\"67\" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Group_0cq45ed_di\" bpmnElement=\"Group_0cq45ed\"><dc:Bounds x=\"420\" y=\"-30\" width=\"460\" height=\"870\" /><bpmndi:BPMNLabel><dc:Bounds x=\"614\" y=\"-23\" width=\"73\" height=\"27\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Group_1guy6gh_di\" bpmnElement=\"Group_1guy6gh\"><dc:Bounds x=\"910\" y=\"-30\" width=\"1050\" height=\"870\" /><bpmndi:BPMNLabel><dc:Bounds x=\"1402\" y=\"-23\" width=\"68\" height=\"66\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNEdge id=\"DataInputAssociation_0mctz03_di\" bpmnElement=\"DataInputAssociation_0mctz03\"><di:waypoint x=\"550\" y=\"155\" /><di:waypoint x=\"550\" y=\"218\" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_02b60xp_di\" bpmnElement=\"Flow_02b60xp\"><di:waypoint x=\"378\" y=\"258\" /><di:waypoint x=\"500\" y=\"258\" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_1ruyvup_di\" bpmnElement=\"Flow_1ruyvup\"><di:waypoint x=\"600\" y=\"258\" /><di:waypoint x=\"655\" y=\"258\" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_1vdssk6_di\" bpmnElement=\"Flow_1vdssk6\"><di:waypoint x=\"705\" y=\"258\" /><di:waypoint x=\"785\" y=\"258\" /><bpmndi:BPMNLabel><dc:Bounds x=\"709\" y=\"240\" width=\"17\" height=\"14\" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_04y1s0l_di\" bpmnElement=\"Flow_04y1s0l\"><di:waypoint x=\"680\" y=\"283\" /><di:waypoint x=\"680\" y=\"345\" /><bpmndi:BPMNLabel><dc:Bounds x=\"689\" y=\"311\" width=\"13\" height=\"14\" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_19oe0ef_di\" bpmnElement=\"Flow_19oe0ef\"><di:waypoint x=\"815\" y=\"258\" /><di:waypoint x=\"960\" y=\"258\" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_1hbr4kr_di\" bpmnElement=\"Flow_1hbr4kr\"><di:waypoint x=\"1900\" y=\"258\" /><di:waypoint x=\"2012\" y=\"258\" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Association_1oliby6_di\" bpmnElement=\"Association_1oliby6\"><di:waypoint x=\"800\" y=\"243\" /><di:waypoint x=\"800\" y=\"155\" /></bpmndi:BPMNEdge></bpmndi:BPMNPlane></bpmndi:BPMNDiagram></bpmn2:definitions>",
					"ElementParameters": "[{\"Id\":\"StartEvent_1\",\"Type\":0,\"Parameters\":{},\"SelectedTypeId\":\"ManualTrigger\",\"PromoteResultAs\":null,\"Name\":\"Manual\",\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Activity_0wo0t5e\",\"Type\":1,\"Parameters\":{\"input\":{\"Method\":{\"mode\":\"select\",\"value\":\"GET\"},\"ResultMethod\":{\"mode\":\"select\",\"value\":\"JToken\"},\"Url\":{\"mode\":\"text\",\"value\":\"{{#var.ShopifyBaseUrl}}/admin/api/2024-04/customers.json\"},\"Message\":{\"mode\":\"text\",\"value\":\"\"},\"Headers\":[{\"Name\":{\"mode\":\"text\",\"value\":\"Content-Type\"},\"Value\":{\"mode\":\"text\",\"value\":\"application/json\"}},{\"Name\":{\"mode\":\"text\",\"value\":\"X-Shopify-Access-Token\"},\"Value\":{\"mode\":\"csharp\",\"value\":\"#var.ShopifyAdminToken\"}}]},\"options\":{\"Authentication\":{\"mode\":\"select\",\"value\":\"None\"},\"Username\":{\"mode\":\"text\",\"value\":\"\"},\"Password\":{\"mode\":\"text\",\"value\":\"\"},\"Token\":{\"mode\":\"text\",\"value\":\"\"},\"ClientCertificateSource\":{\"mode\":\"select\",\"value\":\"CertificateStore\"},\"ClientCertificateFilePath\":{\"mode\":\"text\",\"value\":\"\"},\"ClientCertificateInBase64\":{\"mode\":\"text\",\"value\":\"\"},\"ClientCertificateKeyPhrase\":{\"mode\":\"text\",\"value\":\"\"},\"CertificateThumbprint\":{\"mode\":\"text\",\"value\":\"\"},\"LoadEntireChainForCertificate\":{\"mode\":\"toggle\",\"value\":true},\"ConnectionTimeoutSeconds\":{\"mode\":\"integer\",\"value\":30},\"FollowRedirects\":{\"mode\":\"toggle\",\"value\":true},\"AllowInvalidCertificate\":{\"mode\":\"toggle\",\"value\":false},\"AllowInvalidResponseContentTypeCharSet\":{\"mode\":\"toggle\",\"value\":false},\"ThrowExceptionOnErrorResponse\":{\"mode\":\"toggle\",\"value\":false},\"AutomaticCookieHandling\":{\"mode\":\"toggle\",\"value\":true}},\"cancellationToken\":null},\"SelectedTypeId\":\"/ProcessTask/d2f2020e-4ce6-4e5f-879f-ef34e57c9fca/v1\",\"PromoteResultAs\":null,\"Name\":\"Get customers from Shopify\",\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":false,\"MaxRetryCount\":null,\"ShouldNotLogResult\":true,\"ShouldDispose\":null},{\"Id\":\"FrendsTestElementId\",\"Type\":19,\"Parameters\":{\"input\":{\"Path\":{\"mode\":\"text\",\"value\":\"/\"},\"FileEncoding\":{\"mode\":\"select\",\"value\":\"ANSI\"},\"EnableBom\":{\"mode\":\"toggle\",\"value\":false},\"EncodingInString\":{\"mode\":\"text\",\"value\":\"\"}},\"connection\":{\"ConnectionTimeout\":{\"mode\":\"integer\",\"value\":60},\"Address\":{\"mode\":\"text\",\"value\":\"\"},\"Port\":{\"mode\":\"integer\",\"value\":22},\"Authentication\":{\"mode\":\"select\",\"value\":\"UsernamePassword\"},\"Username\":{\"mode\":\"text\",\"value\":\"\"},\"Password\":{\"mode\":\"text\",\"value\":\"\"},\"PrivateKeyFile\":{\"mode\":\"text\",\"value\":\"\"},\"PrivateKeyString\":{\"mode\":\"text\",\"value\":\"\"},\"PrivateKeyPassphrase\":{\"mode\":\"text\",\"value\":\"\"},\"ServerFingerPrint\":{\"mode\":\"text\",\"value\":\"\"},\"HostKeyAlgorithm\":{\"mode\":\"select\",\"value\":\"Any\"},\"UseKeyboardInteractiveAuthentication\":{\"mode\":\"toggle\",\"value\":false},\"PromptAndResponse\":[],\"BufferSize\":{\"mode\":\"integer\",\"value\":32}},\"cancellationToken\":null},\"SelectedTypeId\":\"/ProcessTask/7fe311ed-3e37-4669-8c6b-9e5792e996d0/v1\",\"PromoteResultAs\":null,\"Name\":\"Test\",\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"DataStoreReference_0fny0kl\",\"Type\":22,\"Parameters\":{},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"Shopify customers\",\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Gateway_00bstlp\",\"Type\":2,\"Parameters\":{\"expression\":{\"mode\":\"csharp\",\"value\":\"#result.StatusCode == 200\"}},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"Customer data retrieved?\",\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Flow_1vdssk6\",\"Type\":4,\"Parameters\":{},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"yes\",\"Description\":null,\"IsDefault\":false,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Activity_1jvwg65\",\"Type\":12,\"Parameters\":{\"variableName\":\"exceptions\",\"variableExpression\":{\"mode\":\"csharp\",\"value\":\"\\\"\\\"\"},\"shouldAssignVariable\":{\"mode\":\"toggle\",\"value\":true}},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"Initialize exceptions\",\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Event_1ucnjwf\",\"Type\":6,\"Parameters\":{\"expression\":{\"mode\":\"text\",\"value\":\"An error occurred getting customers from Shopify: {{#result[Get customers from Shopify].Body.message}}\\\"\"},\"bypassGlobalExceptionHandler\":{\"mode\":\"toggle\",\"value\":true}},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":null,\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Flow_04y1s0l\",\"Type\":4,\"Parameters\":{},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"no\",\"Description\":null,\"IsDefault\":true,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Event_064s6d5\",\"Type\":13,\"Parameters\":{},\"SelectedTypeId\":\"\",\"PromoteResultAs\":null,\"Name\":null,\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Activity_0l51eyo\",\"Type\":10,\"Parameters\":{\"variable\":\"customer\",\"expression\":{\"mode\":\"csharp\",\"value\":\"#result[Get customers from Shopify].Body.customers\"}},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"For each customer\",\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Activity_0c36r43\",\"Type\":1,\"Parameters\":{\"input\":{\"Domain\":{\"mode\":\"csharp\",\"value\":\"#var.SalesforceBaseUrl\"},\"Query\":{\"mode\":\"text\",\"value\":\"SELECT Id\\r\\nFROM Contact\\r\\nWHERE Email = '{{#var.customer[\\\"email\\\"]}}'\"}},\"options\":{\"AuthenticationMethod\":{\"mode\":\"select\",\"value\":\"OAuth2WithPassword\"},\"AccessToken\":{\"mode\":\"text\",\"value\":\"\"},\"AuthUrl\":{\"mode\":\"text\",\"value\":\"https://login.salesforce.com/services/oauth2/token\"},\"ClientID\":{\"mode\":\"csharp\",\"value\":\"#var.SalesforceClientId\"},\"ClientSecret\":{\"mode\":\"csharp\",\"value\":\"#var.SalesforceClientSecret\"},\"Username\":{\"mode\":\"csharp\",\"value\":\"#var.SalesforceUser\"},\"Password\":{\"mode\":\"csharp\",\"value\":\"#var.SalesforcePassword\"},\"SecurityToken\":{\"mode\":\"csharp\",\"value\":\"#var.SalesforceSecurityToken\"},\"ReturnAccessToken\":{\"mode\":\"toggle\",\"value\":false},\"ThrowAnErrorIfNotFound\":{\"mode\":\"toggle\",\"value\":false}},\"cancellationToken\":null},\"SelectedTypeId\":\"/ProcessTask/12e91c58-734a-451e-87e2-4c23385c1c43/v1\",\"PromoteResultAs\":null,\"Name\":\"Get contact information from Salesforce\",\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":false,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Gateway_0tik9oz\",\"Type\":2,\"Parameters\":{\"expression\":{\"mode\":\"csharp\",\"value\":\"#result.RequestIsSuccessful\"}},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"Retrieving contact information successful?\",\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Flow_0c41025\",\"Type\":4,\"Parameters\":{},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"yes\",\"Description\":null,\"IsDefault\":false,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Gateway_191o42z\",\"Type\":2,\"Parameters\":{\"expression\":{\"mode\":\"csharp\",\"value\":\"(int)#result.Body[\\\"totalSize\\\"] != 0\"}},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"Is customer in Salesforce as a contact?\",\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Flow_1uerae2\",\"Type\":4,\"Parameters\":{},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"no\",\"Description\":null,\"IsDefault\":true,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Activity_0ulau46\",\"Type\":1,\"Parameters\":{\"input\":{\"Domain\":{\"mode\":\"csharp\",\"value\":\"#var.SalesforceBaseUrl\"},\"SObjectAsJson\":{\"mode\":\"csharp\",\"value\":\"JObject.FromObject(new {\\r\\n    Email = #var.customer[\\\"email\\\"],\\r\\n    FirstName = #var.customer[\\\"first_name\\\"],\\r\\n    LastName = #var.customer[\\\"last_name\\\"],\\r\\n    MailingCity = #var.customer[\\\"addresses\\\"] != null && ((JArray)#var.customer[\\\"addresses\\\"]).Count > 0 ? #var.customer[\\\"addresses\\\"][0][\\\"city\\\"] : \\\"\\\",\\r\\n    MailingCountry = #var.customer[\\\"addresses\\\"] != null && ((JArray)#var.customer[\\\"addresses\\\"]).Count > 0 ? #var.customer[\\\"addresses\\\"][0][\\\"country_name\\\"] : \\\"\\\",\\r\\n    MailingPostalCode = #var.customer[\\\"addresses\\\"] != null && ((JArray)#var.customer[\\\"addresses\\\"]).Count > 0 ? #var.customer[\\\"addresses\\\"][0][\\\"zip\\\"] : \\\"\\\",\\r\\n    MailingState = #var.customer[\\\"addresses\\\"] != null && ((JArray)#var.customer[\\\"addresses\\\"]).Count > 0 ? #var.customer[\\\"addresses\\\"][0][\\\"province\\\"] : \\\"\\\",\\r\\n    MailingStreet = #var.customer[\\\"addresses\\\"] != null && ((JArray)#var.customer[\\\"addresses\\\"]).Count > 0 ? #var.customer[\\\"addresses\\\"][0][\\\"address1\\\"] : \\\"\\\",\\r\\n    Phone = #var.customer[\\\"phone\\\"]\\r\\n}).ToString();\"},\"SObjectType\":{\"mode\":\"text\",\"value\":\"Contact\"}},\"options\":{\"AuthenticationMethod\":{\"mode\":\"select\",\"value\":\"OAuth2WithPassword\"},\"AccessToken\":{\"mode\":\"text\",\"value\":\"\"},\"AuthUrl\":{\"mode\":\"text\",\"value\":\"https://login.salesforce.com/services/oauth2/token\"},\"ClientID\":{\"mode\":\"csharp\",\"value\":\"#var.SalesforceClientId\"},\"ClientSecret\":{\"mode\":\"csharp\",\"value\":\"#var.SalesforceClientSecret\"},\"Username\":{\"mode\":\"csharp\",\"value\":\"#var.SalesforceUser\"},\"Password\":{\"mode\":\"csharp\",\"value\":\"#var.SalesforcePassword\"},\"SecurityToken\":{\"mode\":\"csharp\",\"value\":\"#var.SalesforceSecurityToken\"},\"ReturnAccessToken\":{\"mode\":\"toggle\",\"value\":false}},\"cancellationToken\":null},\"SelectedTypeId\":\"/ProcessTask/c5fbbd06-fd05-4d72-af74-ae8805a458de/v1\",\"PromoteResultAs\":null,\"Name\":\"Insert customer to Salesforce\",\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":false,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Flow_0xibwpy\",\"Type\":4,\"Parameters\":{},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"yes\",\"Description\":null,\"IsDefault\":false,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Activity_03ijybn\",\"Type\":1,\"Parameters\":{\"input\":{\"Domain\":{\"mode\":\"csharp\",\"value\":\"#var.SalesforceBaseUrl\"},\"SObjectAsJson\":{\"mode\":\"csharp\",\"value\":\"JObject.FromObject(new {\\r\\n    Email = #var.customer[\\\"email\\\"],\\r\\n    FirstName = #var.customer[\\\"first_name\\\"],\\r\\n    LastName = #var.customer[\\\"last_name\\\"],\\r\\n    MailingCity = #var.customer[\\\"addresses\\\"] != null && ((JArray)#var.customer[\\\"addresses\\\"]).Count > 0 ? #var.customer[\\\"addresses\\\"][0][\\\"city\\\"] : \\\"\\\",\\r\\n    MailingCountry = #var.customer[\\\"addresses\\\"] != null && ((JArray)#var.customer[\\\"addresses\\\"]).Count > 0 ? #var.customer[\\\"addresses\\\"][0][\\\"country_name\\\"] : \\\"\\\",\\r\\n    MailingPostalCode = #var.customer[\\\"addresses\\\"] != null && ((JArray)#var.customer[\\\"addresses\\\"]).Count > 0 ? #var.customer[\\\"addresses\\\"][0][\\\"zip\\\"] : \\\"\\\",\\r\\n    MailingState = #var.customer[\\\"addresses\\\"] != null && ((JArray)#var.customer[\\\"addresses\\\"]).Count > 0 ? #var.customer[\\\"addresses\\\"][0][\\\"province\\\"] : \\\"\\\",\\r\\n    MailingStreet = #var.customer[\\\"addresses\\\"] != null && ((JArray)#var.customer[\\\"addresses\\\"]).Count > 0 ? #var.customer[\\\"addresses\\\"][0][\\\"address1\\\"] : \\\"\\\",\\r\\n    Phone = #var.customer[\\\"phone\\\"]\\r\\n}).ToString();\"},\"SObjectId\":{\"mode\":\"text\",\"value\":\"{{#result[Get contact information from Salesforce].Body[\\\"records\\\"][0][\\\"Id\\\"]}}\"},\"SObjectType\":{\"mode\":\"text\",\"value\":\"Contact\"}},\"options\":{\"AuthenticationMethod\":{\"mode\":\"select\",\"value\":\"OAuth2WithPassword\"},\"AccessToken\":{\"mode\":\"text\",\"value\":\"\"},\"AuthUrl\":{\"mode\":\"text\",\"value\":\"https://login.salesforce.com/services/oauth2/token\"},\"ClientID\":{\"mode\":\"csharp\",\"value\":\"#var.SalesforceClientId\"},\"ClientSecret\":{\"mode\":\"csharp\",\"value\":\"#var.SalesforceClientSecret\"},\"Username\":{\"mode\":\"csharp\",\"value\":\"#var.SalesforceUser\"},\"Password\":{\"mode\":\"csharp\",\"value\":\"#var.SalesforcePassword\"},\"SecurityToken\":{\"mode\":\"csharp\",\"value\":\"#var.SalesforceSecurityToken\"},\"ReturnAccessToken\":{\"mode\":\"toggle\",\"value\":false},\"ThrowAnErrorIfNotFound\":{\"mode\":\"toggle\",\"value\":false}},\"cancellationToken\":null},\"SelectedTypeId\":\"/ProcessTask/401db187-fbf0-4886-b7bc-927ac0c35324/v1\",\"PromoteResultAs\":null,\"Name\":\"Update customer in Salesforce\",\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":false,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Flow_056quqx\",\"Type\":4,\"Parameters\":{},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"no\",\"Description\":null,\"IsDefault\":true,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Event_095vhme\",\"Type\":5,\"Parameters\":{\"expression\":{\"mode\":\"csharp\",\"value\":\"#var.exceptions += $\\\"\\\\nError retrieving contact information for Shopify customer id {#var.customer[\\\"id\\\"]}: {#result[Get contact information from Salesforce].ErrorMessage}\\\";\"}},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":null,\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Gateway_1b6d15u\",\"Type\":2,\"Parameters\":{\"expression\":{\"mode\":\"csharp\",\"value\":\"#result.RequestIsSuccessful\"}},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"Customer insertion successful?\",\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Gateway_1edlorj\",\"Type\":2,\"Parameters\":{\"expression\":{\"mode\":\"csharp\",\"value\":\"#result.RequestIsSuccessful\"}},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"Customer update successful?\",\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Flow_108wewe\",\"Type\":4,\"Parameters\":{},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"yes\",\"Description\":null,\"IsDefault\":false,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Event_1t428y7\",\"Type\":5,\"Parameters\":{\"expression\":{\"mode\":\"csharp\",\"value\":\"#result\"}},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":null,\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Flow_0rcka6d\",\"Type\":4,\"Parameters\":{},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"yes\",\"Description\":null,\"IsDefault\":false,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Flow_0b8qzg5\",\"Type\":4,\"Parameters\":{},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"no\",\"Description\":null,\"IsDefault\":true,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Event_0xvyjch\",\"Type\":5,\"Parameters\":{\"expression\":{\"mode\":\"csharp\",\"value\":\"#var.exceptions += $\\\"\\\\nCustomer update failed for Shopify customer {#var.customer[\\\"id\\\"]}: {#result[Update customer in Salesforce].ErrorMessage}\\\";\"}},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":null,\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Flow_11htdr0\",\"Type\":4,\"Parameters\":{},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"no\",\"Description\":null,\"IsDefault\":true,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Event_1bmaism\",\"Type\":5,\"Parameters\":{\"expression\":{\"mode\":\"csharp\",\"value\":\"#var.exceptions += $\\\"\\\\nCustomer insertion failed for Shopify customer {#var.customer[\\\"id\\\"]}: {#result[Insert customer to Salesforce].ErrorMessage}\\\";\"}},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":null,\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Event_1nu2kh1\",\"Type\":5,\"Parameters\":{\"expression\":{\"mode\":\"csharp\",\"value\":\"#var.exceptions != \\\"\\\" ? \\\"Customers successfully posted to Salesforce. Following exceptions occurred: \\\" + #var.exceptions.ToString(): \\\"Customers successfully posted to Salesforce.\\\"\"}},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":null,\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null}]",
					"ManualTriggerJson": "[]",
					"IsSubprocess": false,
					"TriggersJson": "[{\"$type\":\"ManualTrigger\",\"config\":{},\"name\":\"Manual\",\"id\":\"StartEvent_1\",\"shouldNotLogParameters\":null}]",
					"AssemblyName": null,
					"PackageId": null,
					"PackageVersion": null,
					"UsedTasksJson": "[\"/ProcessTask/D2F2020E-4CE6-4E5F-879F-EF34E57C9FCA/v1\",\"/ProcessTask/12E91C58-734A-451E-87E2-4C23385C1C43/v1\",\"/ProcessTask/401DB187-FBF0-4886-B7BC-927AC0C35324/v1\",\"/ProcessTask/C5FBBD06-FD05-4D72-AF74-AE8805A458DE/v1\"]",
					"UsedSubprocessesJson": "{}",
					"ProcessExecutionVersion": "",
					"FrendsVersion": "5.7.3.1743",
					"TargetFramework": "net8.0",
					"StaticRequiredEnvironmentVariables": [],
					"RequiredEnvironmentVariables": [],
					"PromotedResultVariablesJson": "[]",
					"MajorVersion": 1,
					"MinorVersion": 0,
					"IsForMonitoringRule": false,
					"ProcessVariablesJson": null
				},
				"LinkedTasks": {
					"d8ce4efa-1e09-4463-81fe-5d4078536e20": [
						{
							"Id": "d2f2020e-4ce6-4e5f-879f-ef34e57c9fca",
							"PackageId": "Frends.HTTP.Request",
							"PackageVersion": "1.1.2",
							"Name": "Frends.HTTP.Request.HTTP.Request(Input, Options, CancellationToken)",
							"FrameworkIdentifier": ".NETCoreApp"
						},
						{
							"Id": "12e91c58-734a-451e-87e2-4c23385c1c43",
							"PackageId": "Frends.Salesforce.ExecuteQuery",
							"PackageVersion": "1.0.1",
							"Name": "Frends.Salesforce.ExecuteQuery.Salesforce.ExecuteQuery(Input, Options, CancellationToken)",
							"FrameworkIdentifier": ".NETCoreApp"
						},
						{
							"Id": "401db187-fbf0-4886-b7bc-927ac0c35324",
							"PackageId": "Frends.Salesforce.UpdateSObject",
							"PackageVersion": "1.0.0",
							"Name": "Frends.Salesforce.UpdateSObject.Salesforce.UpdateSObject(Input, Options, CancellationToken)",
							"FrameworkIdentifier": ".NETCoreApp"
						},
						{
							"Id": "c5fbbd06-fd05-4d72-af74-ae8805a458de",
							"PackageId": "Frends.Salesforce.CreateSObject",
							"PackageVersion": "1.0.1",
							"Name": "Frends.Salesforce.CreateSObject.Salesforce.CreateSObject(Input, Options, CancellationToken)",
							"FrameworkIdentifier": ".NETCoreApp"
						}
					]
				},
				"LinkedSubProcess": {},
				"Version": "Acc41"
			}
		}
	]
}